package com.cloud.lan.entity.base.exceptions;

/**
 * 统一异常捕获
 * @author ErKang
 * @date Created in 2021/12/6 23:25
 * @title BaseException.java
 * Department: Product development
 */
public class BaseException extends LanResponseException {

    public BaseException(String code, String msg) {
        super(code, msg);
    }

    public BaseException(ILanError lanError) {
        super(lanError.getCode(), lanError.getMsg());
    }

    public BaseException(ILanError lanError, String msg) {
        super(lanError.getCode(), msg);
    }

}
